import { NgModule, ErrorHandler } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { IonicApp, IonicModule, IonicErrorHandler } from 'ionic-angular';
import { HttpModule } from '@angular/http';
import { MyApp } from './app.component';

//依赖包

// import { File } from '@ionic-native/file';
// import { FileChooser } from '@ionic-native/file-chooser';


import { AboutPage } from '../pages/about/about';
import { ContactPage } from '../pages/contact/contact';
import { HomePage } from '../pages/home/home';
import  {MinePage} from '../pages/mine/mine';
import { TabsPage } from '../pages/tabs/tabs';

//账户设置
import {ZhszPage} from '../pages/zhsz/zhsz';
//用户信息
import  {YhxxPage} from '../pages/yhxx/yhxx';
//发表简历
import  {FojlPage} from  '../pages/fojl/fojl';
//我的简历
import  {WdjlPage} from  '../pages/wdjl/wdjl';
//企业认证
import  {QiyePage} from  '../pages/qiye/qiye';
//首页
import  {ShoyePage} from  '../pages/shoye/shoye';
//二手市场
import  {SecondPage} from  '../pages/second/second';
//我要发布
import  {ReleasPage} from  '../pages/releas/releas';
//工作详情
import  {WorkPage} from  '../pages/work/work';
//便民服务
import  {ServicePage} from  '../pages/service/service';
//发布职位
import {PositionPage} from '../pages/position/position';
//便民信息发布
import {DetailsPage} from '../pages/details/details'

import { StatusBar } from '@ionic-native/status-bar';
import { SplashScreen } from '@ionic-native/splash-screen';

@NgModule({
  declarations: [
    MyApp,
    AboutPage,
    ContactPage,
    MinePage,
    HomePage,
    TabsPage,
    ZhszPage,
    YhxxPage,
    WdjlPage,
    FojlPage,
    QiyePage,
    ShoyePage,
    SecondPage,
    ReleasPage,
    DetailsPage,
    WorkPage,


    ServicePage,
    PositionPage

  ],
  imports: [
    BrowserModule,
    HttpModule,
    IonicModule.forRoot(MyApp,{backButtonText:'返回'})
  ],
  bootstrap: [IonicApp],
  entryComponents: [
    MyApp,

    AboutPage,
    ContactPage,
    MinePage,
    HomePage,
    TabsPage,
    ZhszPage,
    YhxxPage,
    WdjlPage,
    FojlPage,
    QiyePage,
    ShoyePage,
    SecondPage,
    ReleasPage,
    DetailsPage,
    WorkPage,


    ServicePage,
    PositionPage


  ],
  providers: [
    StatusBar,
    SplashScreen,
    {provide: ErrorHandler, useClass: IonicErrorHandler}
  ]
})
export class AppModule {}
